Nvidia Privative Drivers installation

 

Some people can experience difficulties installing the Nvidia privative drivers, this howto explains in better detail how to reach that.

Introduction

The correct way to install the privative drivers in a Debian system is by using their own provided packages

Tool provided by Elive:

The tool provided by Elive makes all the process to just follow a few questions and guides the user, installing and doing everything needed for him.

Please report any modification to the tool if needed in order to work easily and automated for everybody

The live mode boots, when an nvidia card is detected it shows a dialog asking to the user if wants to install the privative drivers, eventually is needed to reboot with a different boot option (privative drivers) in order to not load the nouveau driver, which will conflict with the other nvidia driver and it wont work (everything is guided from the nvidia installer)

When the user is proceding with the installation of the drivers, it shows different driver versions to select, every graphic card would need a different version, the installer suggest a recommended one, but if not works you must try with the other versions too.

Next steps of the tool is:

If the drivers succeed and eventually the user runs the installing of elive to the hard disk, the same nvidia option is used for the installed system

Auto / guided installation

Manual installation

Live mode

If you have the option "privative drivers" before to boot, you must select this one in order to not use the nouveau driver to proceed with the use of the privative ones, both drivers cannot be loaded at the same time

Optionally you can press TAB or "e" to edit the boot parameters and append "nox11autologin" to run the tool yourself manually

Elive already Installed on the hard disk

2nd option:

Do not run the Elive provided tool and try to make it working entirely by yourself, if you are successfull and the provided tool by Elive don't worked, report what it needs to be added to it

Extra

The Elive tool automates all the needed steps process, but it may be not perfect, so maybe trying to install the drivers there's a missing package to install or step to add. You must open a temporal console / terminal if says that it failed in order to check the package / drivers status and try to make it working yourself, then, report to elive the improvements needed to the tool in order to make it working by default and for everybody.

Tips:

apui elive-tools

Installing the Official Nvidia drivers

(from their website)

You can also use the .run file provided by the official nvidia drivers from their website, this should work in most of the cases and will be newer versions of the drivers, but we don't suggest to use them unless really needed, because:

So, after that said, let's proceed with the instructions

Installing:

Now, you may have some issues installing them, so let's explain them and their solutions:

Causes and solution for the .run installer:

Old drivers installed:

So you may have some nvidia drivers already installed from the elive tool

To remove them, use our magic tool:

~ ❯❯❯ sudo nvidia-privative-drivers-install -u

Nouveau driver already in use:

Your computer may have booted normally and detected that you have an nvidia card, and so it loaded the nouveau module, the problem is that unless you set "vga=788" or similar parameter, the module will be in use, and so you won't be able to "rmmod nouveau", this makes the installing (or switching) to the other nvidia driver not possible...

To solve that, turn ON your computer and in the first boot menu selector, press the "e" key to edit your grub menu, go to the boot parameters and append "modprobe.blacklist=nouveau" to the line starting with the word "linux", like here:

image|690x426

It is also suggested to remove the "quiet" and "splash" parameters to have more messages in your consoles

Finally, press the F10 key to boot using your modifications

IMPORTANT: Since you are not booting with your correct drivers installed, your graphical system may fail to start, so you would need to do everything from the console first. To boot in console mode just append the number "1" to the end of your grub list (like explained before), it will ask you for your admin (root) password and then you can do everything from it